package com.chenju.invokechainservice.domain;

import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Data
@ToString
public class TAopMethod {
    private Long id;
    private String methodName;
    private String adviceType;
    private String pointcutExpression;
    private List<String> adviceForMethods;

    public TAopMethod(String methodName, String adviceType, String pointcutExpression) {
        this.methodName = methodName;
        this.adviceType = adviceType;
        this.pointcutExpression = pointcutExpression;
        this.adviceForMethods = new ArrayList<>();
    }
}
